/**
 * 
 */
package weather.util;

import static org.junit.Assert.*;

import org.junit.*;

/**
 * Test class for {@link weather.util.Strings}.
 * @author Jerzy Mazurek WEiTI PW
 */
public class StringsTest
{
	/**
	 * Test method for {@link weather.util.Strings#levenshteinDistance(java.lang.String, java.lang.String)}.
	 */
	@Test
	public void testLevenshteinDistance()
	{
		assertEquals(0, Strings.levenshteinDistance("pies", "pies"));
		assertEquals(1, Strings.levenshteinDistance("granat", "granit"));
		assertEquals(3, Strings.levenshteinDistance("orczyk", "oracz"));
		assertEquals(4, Strings.levenshteinDistance("marka", "ariada"));
	}
}
